<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="activityDefinition/menue.jsp" />

<html>
<head>
<title>index</title>
</head>
<body>
	<div id="header">
		<h1 style="color: blue; align: center">Activity列表</h1>
	</div>
	<form action="/activity/query" method="get">
		userId:<input name="userId" value="${userId}" /><br /> activityType:<input
			name="activityType" value="${activityType}" /><br /> <input
			type="submit" value="提交" />

	</form>
	<table class="table">
		<tr>
			<td>No</td>
			<td>活动类型</td>
			<td>条目ID</td>
			<td>条目名</td>
			<td>活动者ID</td>
			<td>活动者名</td>
		</tr>
		<c:forEach items="${items}" var="item" varStatus="status">
			<tr>
				<td>${status.count}</td>
				<td>${item.activityType}</td>
				<td>${item.itemId}</td>
				<td>${item.itemName}</td>
				<td>${item.actorId}</td>
				<td>${item.actorName}</td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>
